#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main()
{

    int N = 0;
    scanf("%d", &N);

    int ret = N;
    int count = 0;
    int zero = 0;
    int value = 0;
    while (N--)
    {
        int n = 0;
        scanf("%d", &n);
        if (n > 0)
        {
            count++;
            value += n;
        }
        else if (n == 0)
        {
            zero++;
        }

    }

    if (value > 0)
        printf("%d %.1f", ret - count - zero, value / 1.0 / count);
    else
        printf("%d %.1f", ret - count - zero, 0.0);
    return 0;
}




int minNumberInRotateArray(int* nums, int numsLen)
{
    // write code here
    int left = 0;
    int right = numsLen - 1;
    int mid = 0;

    while (left < right)
    {

        mid = left + (right - left) / 2;
        if (nums[mid] >= nums[mid - 1] && nums[mid] <= nums[mid + 1])
        {
            if (nums[mid] <= nums[right])
            {
                right = mid;
            }
            else
            {
                left = mid;
            }
        }
        else
        {
            if (nums[mid] >= nums[mid - 1] && nums[mid] >= nums[mid + 1])
                return nums[mid + 1];
            else
                return nums[mid];
        }

    }

    return nums[mid];
}